<div class="nav_menu">
  <nav class="" role="navigation">
    <div class="nav toggle">
      <a id="menu_toggle" href="#" ng-click="collapseNav()"><i class="fa fa-bars"></i></a>
    </div>

    <ul class="nav navbar-nav navbar-right">
      <li ng-class="{open: isOpen}">
        <a href="javascript:;" ng-click="toggle()" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
          <img ng-src="{{photo}}" alt=""> {{username}}
          <span class=" fa fa-angle-down"></span>
        </a>
        <ul class="dropdown-menu dropdown-usermenu animated fadeInDown pull-right">
          <li>
            <a href="javascript:;">
              <span class="badge bg-red pull-right">50%</span>
              <span>设置</span>
            </a>
          </li>
          <li><a href="javascript:;">帮助</a></li>
          <li><a href="#"><i class="fa fa-sign-out pull-right"></i>安全退出</a></li>
        </ul>
      </li>

    </ul>
  </nav>
</div>